package com.itheima.reggie.service;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.itheima.reggie.common.PageParams;
import com.itheima.reggie.entity.Category;

import java.util.List;

public interface CategoryService {
    int save(Category category);

    IPage<Category> selectPage(PageParams pageParams);

    int deleteCategory(Long categoryId);

    int update(Category category);

    List<Category> list(Category category);
}
